From 42ab773966d8cbe0182b3d6969703029a2706cb4 Mon Sep 17 00:00:00 2001 From: "jimix@localhost.localdomain" Date: Thu, 12 Oct 2006 17:09:19 -0400 Subject: [PATCH] [XEN][POWERPC] Support your older compilers gcc 3.3.x doesn't like some instructions we are using so lets dum them down a bit. Signed-off-by: Jimi Xenidis Signed-off-by: Hollis Blanchard --HG-- extra : transplant_source : %93r5%3E%3B%09%5C%FA%F8-%09%C8%B8%91%D9%A2%B5%8C%A75 --- xen/arch/powerpc/powerpc64/exceptions.S | 2 +- xen/arch/powerpc/setup.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/xen/arch/powerpc/powerpc64/exceptions.S b/xen/arch/powerpc/powerpc64/exceptions.S index 224568bfc1..8b3c9e9fee 100644 --- a/xen/arch/powerpc/powerpc64/exceptions.S +++ b/xen/arch/powerpc/powerpc64/exceptions.S @@ -587,7 +587,7 @@ spin_start: b . /* Find our index in the array of processor_area struct pointers. */ 2: LOADADDR(r14, global_cpu_table) - muli r15, r3, 8 + mulli r15, r3, 8 add r14, r14, r15 /* Spin until the pointer for our processor goes valid. */ 1: ld r15, 0(r14) diff --git a/xen/arch/powerpc/setup.c b/xen/arch/powerpc/setup.c index c31fa1cd7e..f827c2fbf6 100644 --- a/xen/arch/powerpc/setup.c +++ b/xen/arch/powerpc/setup.c @@ -118,7 +118,7 @@ void noinline __attn(void) * NOP is there to make sure there is something sane to "step * over" to. */ console_start_sync(); - asm volatile("attn"); + asm volatile(".long 0x200;nop"); console_end_sync(); } -- 2.30.2